package Day03;

public class OperDemo {
    public static void main(String[] args) {
        System.out.println(5%2);
        System.out.println(6%7);
        System.out.println(0%9);
        System.out.println(16%8);
        System.out.println(10%1);

        int a=5,b=5;
        a++;
        ++b;
        System.out.println(a);
        System.out.println(b);

        int c=5,d=5;
        int e=c++;
        int f=++d;
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);
        System.out.println(f);

        int g=5,h=5;
        --g;
        h--;
        System.out.println(g);
        System.out.println(h);

        int a1=5,a2=5;
        int a3=--a1;
        int a4=a2--;
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(a3);
        System.out.println(a4);
    }
}
